/*
 * Copyright (c) zhg2yqq.com Corp.
 * All Rights Reserved.
 */
package com.zhg2yqq.wheels.job.execution;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;

import com.zhg2yqq.wheels.job.core.JobParameter;
import com.zhg2yqq.wheels.job.util.JobInvokeUtil;

/**
 * @author zhg2yqq, 2023年2月17日
 * @version zhg2yqq v1.0
 */
@DisallowConcurrentExecution
public class QuartzDisallowConcurrentExecution extends AbstractQuartzJob {

    @Override
    protected void doExecute(JobExecutionContext context, JobParameter jobParameter) throws Exception {
        JobInvokeUtil.invokeMethod(jobParameter);
    }

}
